﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;

namespace Al.UI.Controls
{
    public class CometContext
    {
        private AutoResetEvent _updateEvent;
        private string _sessionID;

        public CometContext(string sessionID)
        {
            this._updateEvent = new AutoResetEvent(false);
            this._sessionID = sessionID;
        }

        public AutoResetEvent UpdateEvent
        {
            get { return _updateEvent; }
            set { _updateEvent = value; }
        }

        public string SessionID
        {
            get { return _sessionID; }
            set { _sessionID = value; }
        }
    }
}
